Private statement variables are available only to the script in which they are declared. Public statement variables are available to all procedures in all scripts. Variables declared with Dim at the script level are available to all procedures within the script. At the procedure level, variables are available only within the procedure.
Liked By
Write Answer
What Is The Difference Between the Dim, Public, and Private Statements?
Join MindStick Community
You have need login or register for voting of answers or question.
Dependra Pathak
19-Mar-2011Public statement variables are available to all procedures in all scripts.
Variables declared with Dim at the script level are available to all procedures within the script. At the procedure level, variables are available only within the procedure.